<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>{$item.title} - 人人P2P</title>
        <meta name="keywords" content="{$item.title},人人P2P,我爱P2P,yyste.com,磁力下载,BT下载,磁力下载,电驴下载,ED2K,magnet下载,迅雷下载,美剧,日剧,韩剧,电影,高清电影,游戏,DVDrip,720P,1080P" />
        <meta name="description" content="{$item.title} {foreach from=$item.important_short item=value}{$value} {/foreach} BT磁力下载,电驴,ED2K下载,迅雷下载,人人P2P为您奉献最新的海外影视剧" />
        {include file="include/header.tpl"}
    </head>
    <body>
        {include file="include/top.tpl"}
        
        <div class="row-fluid">
            <div class="span3">
                <div class="item-poster">
                    <img alt="{$item.title}海报" src="{$item.largeImgUrl}">
                </div>
                <div class="item-share">
                    <!-- Baidu Button BEGIN -->
                    <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
                        <span class="bds_more">分享到：</span>
                        <a class="bds_qzone"></a>
                        <a class="bds_tsina"></a>
                        <a class="bds_tqq"></a>
                        <a class="bds_renren"></a>
                    </div>
                    <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=6487499" ></script>
                    <script type="text/javascript" id="bdshell_js"></script>
                    <script type="text/javascript">
                        document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
                    </script>
                    <!-- Baidu Button END -->
                </div>
		<br />
		<br />
<script type="text/javascript">
     document.write('<a style="display:none!important" id="tanx-a-mm_10176789_3470527_13242966"></a>');
     tanx_s = document.createElement("script");
     tanx_s.type = "text/javascript";
     tanx_s.charset = "gbk";
     tanx_s.id = "tanx-s-mm_10176789_3470527_13242966";
     tanx_s.async = true;
     tanx_s.src = "http://p.tanx.com/ex?i=mm_10176789_3470527_13242966";
     tanx_h = document.getElementsByTagName("head")[0];
     if(tanx_h)tanx_h.insertBefore(tanx_s,tanx_h.firstChild);
</script>
            </div>
            <div class="span9">
                <div class="item-title">
                    <h3>{$item.title}</h3>
                </div>
                <div class="item-detail">
                    <dl class="dl-horizontal">
                        {foreach from=$item.intro key=k item=v}
                        {if $k != "" && $v != ""}
                        <dt>{$k}</dt>
                        <dd>
                            {if $k == '类型'}
                                {foreach from=$v item=singleType}
                                <a href="/advanced_search/type_{$singleType}" target="_blank"><span class="label label-info">{$singleType}</span></a>
                                {/foreach}
                            {elseif $k == '主演'}
                                {foreach from=$v item=singleType name=actor}
                                    {if not $smarty.foreach.actor.last}
                                    <a href="/advanced_search/actor_{$singleType}" target="_blank">{$singleType}</a> / 
                                    {else}
                                    <a href="/advanced_search/actor_{$singleType}" target="_blank">{$singleType}</a>
                                    {/if}
                                {/foreach}
                            {elseif $k == '导演'}
                                {foreach from=$v item=singleType name=director}
                                    {if not $smarty.foreach.director.last}
                                    <a href="/advanced_search/director_{$singleType}" target="_blank">{$singleType}</a> / 
                                    {else}
                                    <a href="/advanced_search/director_{$singleType}" target="_blank">{$singleType}</a>
                                    {/if}
                                {/foreach}
                            {elseif $k == '编剧'}
                                {foreach from=$v item=singleType name=story}
                                    {if not $smarty.foreach.story.last}
                                    <a href="/advanced_search/story_{$singleType}" target="_blank">{$singleType}</a> / 
                                    {else}
                                    <a href="/advanced_search/story_{$singleType}" target="_blank">{$singleType}</a>
                                    {/if}
                                {/foreach}
                            {elseif $k == '简介'}
                                <pre><span id="intro_content">{$v}</span>&nbsp;&nbsp;&nbsp;&nbsp;<a href="###" id="show_more" style="display:none">[展开全文]</a></pre>
                            {else}
                                <p>{$v}</p>
                            {/if}
                        </dd>
                        {/if}
                        {/foreach}
                    </dl>
                    <input type="hidden" id="full_intro" value="{$item.full_intro}" />
                    <input type="hidden" id="short_intro" value="{$item.short_intro}" />
                </div>
                <div class="row-fluid">
                    <legend>
                        <h4>相关资源</h4>
                    </legend>
                    <ul class="thumbnails">
                        {foreach from=$relatedItems item=related}
                        <li class="x-movie-li" style="margin-left: 5px;">
                            {if $smarty.const.debug }
                            <a class="z-movie-playlink" href="index.php?action=item_new&id={$related.id}" target="_blank" alt="{$related.title}">
                            {else}
                            <a class="z-movie-playlink" href="/item_new/{$related.id}" target="_blank" alt="{$related.title}">
                            {/if}
                                <div class="thumbnail">
                                    <div class="x-movie-thumbnail">
                                        <img alt="{$related.title}封面" src="{$related.imgUrl}">
                                    </div>
                                    <div class="x-movie-cap">
                                        <b>{$related.title}</b>
                                    </div>
                                </div>
                                <div class="z-movie-playmask" style="visibility: hidden;"></div>
                            </a>
                        </li>
                        {/foreach}
                    </ul>
                </div>
                <div class="item-download">
                    <legend>
                        <h4>影片资源</h4>
                    </legend>
                    <div class="alert alert-success">
                        <button type="button" class="close" data-dismiss="alert">&times;</button>
                        <strong>上次更新:</strong>{$item.updatetime}
                    </div>
                        
                    {if $item.download|@count != 0 }
                    <ul class="nav nav-tabs">
                    {if $item.download|@count > 1 }
                        {foreach from=$item.download key=season item=downloadurls name=seasons}
                            {if $season == 0 }
                                {if $smarty.foreach.seasons.index  == 0}<li class="active">{else}<li>{/if}<a href="#season{$season}" data-toggle="tab">前传</a></li>
                            {elseif $season == 101 }
                                {if $smarty.foreach.seasons.index  == 0}<li class="active">{else}<li>{/if}<a href="#season{$season}" data-toggle="tab">单剧</a></li>
                            {elseif $season == 103 }
                                {if $smarty.foreach.seasons.index  == 0}<li class="active">{else}<li>{/if}<a href="#season{$season}" data-toggle="tab">周边资源</a></li>
                            {else}
                                {if $smarty.foreach.seasons.index  == 0}<li class="active">{else}<li>{/if}<a href="#season{$season}" data-toggle="tab">第{$season}季</a></li>
                            {/if}
                        {/foreach}
                    {else}
                        {foreach from=$item.download key=season item=downloadurls}
                            {if $season == 0 }
                            <li class="active"><a href="#season{$season}" data-toggle="tab">下载资源</a></li>
                            {else}
                            <li class="active"><a href="#season{$season}" data-toggle="tab">单剧</a></li>
                            {/if}
                        {/foreach}
                    {/if}
                    </ul>
                    {/if}
                    <div class="tab-content">
                        {foreach from=$item.download key=season item=downloadurls name=downloads}
                            {if $smarty.foreach.downloads.index  == 0}
                            <div class="tab-pane active" id="season{$season}">
                            {else}
                            <div class="tab-pane" id="season{$season}">
                            {/if}

                            <ul class="nav nav-pills nav-small" id="filter_ul_{$season}">
                                <li class="active"><a id="filter_item_rmvb_{$season}" href="###" filter-type="ALL" season="{$season}">全部</a></li>
                                <li><a id="filter_item_rmvb_{$season}" href="###" filter-type="RMVB" season="{$season}">RMVB</a></li>
                                <li><a id="filter_item_mp4_{$season}"href="###" filter-type="MP4" season="{$season}">MP4</a></li>
                                <li><a id="filter_item_720_{$season}"href="###" filter-type="720P" season="{$season}">720P</a></li>
                                <li><a id="filter_item_1080_{$season}"href="###" filter-type="1080P" season="{$season}">1080P</a></li>
                                <li><a id="filter_item_hrhdtv_{$season}"href="###" filter-type="HR-HDTV" season="{$season}">HR-HDTV</a></li>
                                <li><a id="filter_item_hdtv_{$season}"href="###" filter-type="HDTV" season="{$season}">HDTV</a></li>
                                <li><a id="filter_item_webdl_{$season}"href="###" filter-type="WEB-DL" season="{$season}">WEB-DL</a></li>
                                <li><a id="filter_item_dvd_{$season}"href="###" filter-type="DVD" season="{$season}">DVD</a></li>
                            </ul>
                            <table class="table table-condensed table-striped table-hover">
                                <tbody>
                                {foreach from=$downloadurls item=urlinfo}
                                <tr item-type="{$urlinfo.type}" season="{$season}">
                                    <td style="word-break: break-all;">
                                        {if $urlinfo.type == 'RMVB' }
                                        <span class="label label-success">{$urlinfo.type}</span>
                                        {elseif $urlinfo.type == '720P'}
                                        <span class="label label-important">{$urlinfo.type}</span>
                                        {elseif $urlinfo.type == '1080P'}
                                        <span class="label label-important">{$urlinfo.type}</span>
                                        {elseif $urlinfo.type == 'HR-HDTV'}
                                        <span class="label label-info">{$urlinfo.type}</span>
                                        {elseif $urlinfo.type == 'HDTV'}
                                        <span class="label">{$urlinfo.type}</span>
                                        {elseif $urlinfo.type == 'WEB-DL'}
                                        <span class="label label-inverse">{$urlinfo.type}</span>
                                        {elseif $urlinfo.type == 'MP4'}
                                        <span class="label label-warning">{$urlinfo.type}</span>
                                        {else}
                                        <span class="label">{$urlinfo.type}</span>
                                        {/if}
                                        
                                        <b>{$urlinfo.size}</b>
                                        {$urlinfo.title}
                                    </td>
                                    <td class="span3">
                                        {if $urlinfo.magnet != ""}
                                        <a href="{$urlinfo.magnet}" class="btn-download"><i class="icon-magnet"></i> 磁力下载</a>
                                        {/if}
                                        {if $urlinfo.edk != ""}
                                        <a href="{$urlinfo.edk}" class="btn-download"><i class="icon-download-alt"></i> 电驴下载</a>
                                        {/if}
                                        {if $urlinfo.edk|strpos:"ed2k" !== false } 
                                        <a href="http://vod.qq.com/?ed2k={$urlinfo.edk}" class="btn-download" target="_blank"><i class="icon-play-circle"></i> QQ播放</a>
                                        {/if}
                                        <a href="javascript:;" target="_blank" class="btn-download xl_cloud_btn" magurl="{$urlinfo.magnet}"><i class="icon-play"></i> 迅雷播放</a>
                                    </td>
                                </tr>
                                {foreachelse}
                                <tr><td colspan="2">暂无下载资源</td></tr>
                                {/foreach}
                                </tbody>
                            </table>
                            </div>
                        {foreachelse}
                        <p>暂无下载资源</p>
                        {/foreach}
                    </div>
<!-- alimama -->
<script type="text/javascript">
     document.write('<a style="display:none!important" id="tanx-a-mm_10176789_3470527_13022350"></a>');
     tanx_s = document.createElement("script");
     tanx_s.type = "text/javascript";
     tanx_s.charset = "gbk";
     tanx_s.id = "tanx-s-mm_10176789_3470527_13022350";
     tanx_s.async = true;
     tanx_s.src = "http://p.tanx.com/ex?i=mm_10176789_3470527_13022350";
     tanx_h = document.getElementsByTagName("head")[0];
     if(tanx_h)tanx_h.insertBefore(tanx_s,tanx_h.firstChild);
</script>
<!-- alimama end -->
                    <div class="item-pic">
                        <legend>
                            <h4>精彩剧照</h4>
                        </legend>
                        <ul class="thumbnails">
                        {foreach from=$item.image item=image}
                            <li class="span2">
                                <a href="#" class="thumbnail">
                                <img src="{$image}" alt="{$item.title}剧照">
                                </a>
                            </li>
                        {foreachelse}
                            <li>暂无剧照</li>
                        {/foreach}
                        </ul>
                    </div>
                    <div class="item-news">
                        <legend>
                            <h4>相关资讯</h4>
                        </legend>
                        <div class="media">
                        {foreach from=$item.info item=news}
                            <a class="pull-left" href="#">
                                <!-- <img class="media-object" data-src="holder.js/64x64"> -->
                            </a>
                            <div class="media-body">
                                <b class="media-heading">
                                    <a href="{$news.url}" target="_blank">{$news.title}</a>
                                </b>
                            </div>
                        {foreachelse}
                            <ul class="thumbnails"><li>暂无资讯</li></ul>
                        {/foreach}
                        </div>
                    </div>
                </div>
            </div>
        </div>
{include file="include/bottom.tpl"}

<!--<a href="#" data-toggle="tooltip" title="" data-original-title="Default tooltip">you probably</a>-->
<script type="text/javascript" src="{$smarty.const.JS_DIR}item_new.js"></script>
